import request from '@/utils/request'

export function feedBack(carId, data){
  return request({
    url: `/client/feedBack?carId=${carId}`,
    method: 'post',
    data
  })
}
export function getEvaluationData(carId, index){
  return request({
    url: `/client/getEvaluationData?carId=${carId}&index=${index}`,
    method: 'get'
  })
}

export default{
  feedBack,
  getEvaluationData
}
